CONTENTS: PXCREATE.MAK Visual Basic project file. PXCREATE.FRM Visual Basic form file. PXCREATE.EXE Executable generated with Visual Basic. PXCREATE.TXT This file. I needed a way to use The Paradox Engine to create Paradox tables in VB. At first this seemed impossible because VB doesn't provide for arrays of pointers to strings. The solution is to use arrays of longs. The problem with this is that basic will not allow conversion of one type to another. This had me stumped because I could not get the address of a string into the elements of an array of longs. The solution was to make a Windows API call that accepts a pointer to a string, and a return value that is also a pointer to that same string. When you declare the function within VB you have to LIE to VB about it's return value. Instead of declaring it as returning a string value you declare it as returning a long. This is not a problem since they are both the same size. You can now assign the returned long value to an element of an array of longs and VB will not complain. When you call the PXTblCreate function you can pass the array to it. Since arrays are passed by reference you end up passing a pointer to an array of pointers to strings. See the code attached to the button in the file "pxcreate.frm". This code has not been tested very well so it could contain bugs. Use it at your own risk. Jim Nech OurRider Systems - (Producers of Custom Controls for Visual Basic) 3701 Kirby DR. STE. 1196 Houston, TX 77098 Voice:(713)521-0486 Fax:(713)523-0386 ----------------end-of-author's-documentation--------------- Software Library Information: This disk copy provided as a service of Public (software) Library We are not the authors of this program, nor are we associated with the author in any way other than as a distributor of the program in accordance with the author's terms of distribution. Please direct shareware payments and specific questions about this program to the author of the program, whose name appears elsewhere in this documentation. If you have trouble getting in touch with the author, we will do whatever we can to help you with your questions. All programs have been tested and do run. To report problems, please use the form that is in the file PROBLEM.DOC on many of our disks or in other written for- mat with screen printouts, if possible. PsL cannot debug pro- programs over the telephone, though we can answer questions. Disks in the PsL are updated monthly, so if you did not get this disk directly from the PsL, you should be aware that the files in this set may no longer be the current versions. Also, if you got this disk from another vendor and are having prob- lems, be aware that some files may have become corrupted or lost by that vendor. Get a current, working disk from PsL. For a copy of the latest monthly software library newsletter and a list of the 3,000+ disks in the library, call or write Public (software) Library P.O.Box 35705 - F Houston, TX 77235-5705 1-800-2424-PSL MC/Visa/AmEx/Discover Outside of U.S. or in Texas or for general information, Call 1-713-524-6394 PsL also has an outstanding catalog for the Macintosh.